package purchaseManage;

public class Purchase_Driver {

	public void drive(PurchaseBLService p) {
		p.login("admin", "admin");
		p.getMemberByID(0);
		p.getBookByPress(null);
		p.addPurchaseItem(null);
		p.collectBook(null);
		p.cancelPurchase();
		p.endPurchase();
	}

	public static void main(String[] args) {
		PurchaseBLService p = new Purchase_Stub(null, "Hello", 0.0);
		Purchase_Driver driver = new Purchase_Driver();
		driver.drive(p);
	}

}
